﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using VigenereCiper.Models;

namespace VIigenereWindowsForms
{
    public partial class frmMain : Form
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void buttonCiper_Click(object sender, EventArgs e)
        {
            Vigenere vig = new Vigenere();
            labelCiperOutput.Text = vig.Encrypt(textPlain.Text, textKey.Text);
        }
    }
}
